<!--{loop $_QUERY[mydata] $val}-->
<a href="{$_modules[shop][url]}search.php?searchid=$val[searchid]&searchsubmit=yes">{sublen $val[keyword],5,''}</a>
<!--{/loop}-->